package org.nicocube.airain.game.client.rpc;

import org.nicocube.airain.domain.client.character.GameCharacter;
import org.nicocube.airain.domain.client.gamedate.AbstractGameDate;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("gcs.rpc")
public interface GCService extends RemoteService {

	/**
	 * Retrieve a {@link GameCharacter}
	 * @return the {@link GameCharacter}
	 */
	public GameCharacter retrieveGameCharacter();
	
	/**
	 * @param knownDate the current Known Date on client side
	 * @return the {@link GameCharacter}
	 */
	public GameCharacter updateGameCharacter(AbstractGameDate knownDate);
}
